﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="ParameterManage.aspx.cs" Inherits="Wicresoft.RDW.Manage.ParameterManage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
        #tbParamenterManage td
        {
            text-align: left;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div class="main_title">
        <h2>
            <%=Resources.NameResource.ParameterManage_MainTitle %></h2>
    </div>
    <div class="center">
        <div class="box">
            <div class="HistoryApplicationContent">
                <table id="tbParamenterManage" width="100%" cellpadding="0" cellspacing="0">
                    <tr class="dcTableAlternatingItem">
                        <td>
                            <%=Resources.ManageResource.ApplyBeforeHour %>:
                        </td>
                        <td>
                            <asp:TextBox ID="txtApplyBeforeHour" runat="server"></asp:TextBox><%=Resources.ManageResource.Hour %>
                            <asp:RequiredFieldValidator ID="rfvApplyBeforeHour" runat="server" ErrorMessage="*"
                                ControlToValidate="txtApplyBeforeHour" ForeColor="Red" Display="Dynamic"></asp:RequiredFieldValidator>
                            <asp:RegularExpressionValidator ID="revApplyBeforeHour" runat="server" ErrorMessage="*"
                                ForeColor="Red" ControlToValidate="txtApplyBeforeHour" Display="Dynamic" ValidationExpression="^[1-9]\d*|0$"></asp:RegularExpressionValidator>
                        </td>
                    </tr>
                    <tr class="dcTableItem">
                        <td>
                            <%=Resources.ManageResource.ApproveWaitingDay %>:
                        </td>
                        <td>
                            <asp:TextBox ID="txtApproveWaitingDay" runat="server"></asp:TextBox><%=Resources.ManageResource.Day %>
                            <asp:RequiredFieldValidator ID="rfvApproveWaitingDay" runat="server" ErrorMessage="*"
                                ControlToValidate="txtApproveWaitingDay" ForeColor="Red" Display="Dynamic"></asp:RequiredFieldValidator>
                            <asp:RegularExpressionValidator ID="revApproveWaitingDay" runat="server" ErrorMessage="*"
                                ForeColor="Red" ControlToValidate="txtApproveWaitingDay" Display="Dynamic" ValidationExpression="^[1-9]\d*|0$"></asp:RegularExpressionValidator>
                        </td>
                    </tr>
                    <tr class="dcTableAlternatingItem">
                        <td>
                            <%=Resources.ManageResource.ApplyPeriodMinute %>:
                        </td>
                        <td>
                            <asp:TextBox ID="txtApplyPeriodMinute" runat="server"></asp:TextBox><%=Resources.ManageResource.Minute %>
                            <asp:RequiredFieldValidator ID="rfvApplyPeriodMinute" runat="server" ErrorMessage="*"
                                Display="Dynamic" ControlToValidate="txtApplyPeriodMinute" ForeColor="Red"></asp:RequiredFieldValidator>
                            <asp:RegularExpressionValidator ID="revApplyPeriodMinute" runat="server" ErrorMessage="*"
                                ForeColor="Red" ControlToValidate="txtApplyPeriodMinute" Display="Dynamic" ValidationExpression="^[1-9]\d*|0$"></asp:RegularExpressionValidator>
                        </td>
                    </tr>
                    <tr class="dcTableItem">
                        <td>
                            <%=Resources.ManageResource.CancelBeforeHour %>:
                        </td>
                        <td>
                            <asp:TextBox ID="txtCancelBeforeHour" runat="server"></asp:TextBox><%=Resources.ManageResource.Hour %>
                            <asp:RequiredFieldValidator ID="rfvCancelBeforeHour" runat="server" ErrorMessage="*"
                                Display="Dynamic" ControlToValidate="txtCancelBeforeHour" ForeColor="Red"></asp:RequiredFieldValidator>
                            <asp:RegularExpressionValidator ID="revCancelBeforeHour" runat="server" ErrorMessage="*"
                                ForeColor="Red" ControlToValidate="txtCancelBeforeHour" Display="Dynamic" ValidationExpression="^[1-9]\d*|0$"></asp:RegularExpressionValidator>
                        </td>
                    </tr>
                    <tr class="dcTableAlternatingItem">
                        <td>
                            <%=Resources.ManageResource.FeedbackEmailRemindDay %>:
                        </td>
                        <td>
                            <asp:TextBox ID="txtFeedbackEmailRemindDay" runat="server"></asp:TextBox><%=Resources.ManageResource.Day %>
                            <asp:RequiredFieldValidator ID="rfvFeedbackEmailRemindDay" runat="server" ErrorMessage="*"
                                Display="Dynamic" ControlToValidate="txtFeedbackEmailRemindDay" ForeColor="Red"></asp:RequiredFieldValidator>
                            <asp:RegularExpressionValidator ID="revFeedbackEmailRemindDay" runat="server" ErrorMessage="*"
                                ForeColor="Red" ControlToValidate="txtFeedbackEmailRemindDay" Display="Dynamic"
                                ValidationExpression="^[1-9]\d*|0$"></asp:RegularExpressionValidator>
                        </td>
                    </tr>
                    <tr class="dcTableItem">
                        <td>
                            <%=Resources.ManageResource.CreditScoreIncrease %>:
                        </td>
                        <td>
                            <%=Resources.ManageResource.CreditScoreIncrease_Part%><asp:TextBox ID="txtCreditScoreIncrease"
                                runat="server" Width="30"></asp:TextBox><%=Resources.ManageResource.Score %>
                            <asp:RequiredFieldValidator ID="rfvCreditScoreIncrease" runat="server" ErrorMessage="*"
                                Display="Dynamic" ControlToValidate="txtCreditScoreIncrease" ForeColor="Red"></asp:RequiredFieldValidator>
                            <asp:RegularExpressionValidator ID="revCreditScoreIncrease" runat="server" ErrorMessage="*"
                                ForeColor="Red" ControlToValidate="txtCreditScoreIncrease" Display="Dynamic"
                                ValidationExpression="^[1-9]\d*|0$"></asp:RegularExpressionValidator>
                        </td>
                    </tr>
                    <tr class="dcTableAlternatingItem">
                        <td>
                            <%=Resources.ManageResource.CreditScoreDecrease %>:
                        </td>
                        <td>
                            <%=Resources.ManageResource.CreditScoreDecrease_Part %><asp:TextBox ID="txtCreditScoreDecrease"
                                runat="server" Width="30"></asp:TextBox><%=Resources.ManageResource.Score %>
                            <asp:RegularExpressionValidator ID="revCreditScoreDecrease" runat="server" ErrorMessage="*"
                                ForeColor="Red" ControlToValidate="txtCreditScoreDecrease" Display="Dynamic"
                                ValidationExpression="^[1-9]\d*|0$"></asp:RegularExpressionValidator>
                            <asp:RequiredFieldValidator ID="rfvCreditScoreDecrease" runat="server" ErrorMessage="*"
                                Display="Dynamic" ControlToValidate="txtCreditScoreDecrease" ForeColor="Red"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr class="dcTableItem">
                        <td>
                            <%=Resources.ManageResource.MinCreditScore %>:
                        </td>
                        <td>
                            <asp:TextBox ID="txtMinCreditScore" runat="server"></asp:TextBox><%=Resources.ManageResource.Score %>
                            <asp:RegularExpressionValidator ID="revMinCreditScore" runat="server" ErrorMessage="*"
                                ForeColor="Red" ControlToValidate="txtMinCreditScore" Display="Dynamic" ValidationExpression="^[1-9]\d*|0$"></asp:RegularExpressionValidator>
                            <asp:Label ID="lblMinCreditScore" runat="server" Visible="false" ForeColor="Red"></asp:Label>
                            <asp:RequiredFieldValidator ID="rfvMinCreditScore" runat="server" ErrorMessage="*"
                                Display="Dynamic" ControlToValidate="txtMinCreditScore" ForeColor="Red"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr class="dcTableAlternatingItem">
                        <td>
                            <%=Resources.ManageResource.MaxCreditScore %>:
                        </td>
                        <td>
                            <asp:TextBox ID="txtMaxCreditScore" runat="server"></asp:TextBox><%=Resources.ManageResource.Score %>
                            <asp:RegularExpressionValidator ID="revMaxCreditScore" runat="server" ErrorMessage="*"
                                ForeColor="Red" ControlToValidate="txtMaxCreditScore" Display="Dynamic" ValidationExpression="^[1-9]\d*|0$"></asp:RegularExpressionValidator>
                            <asp:Label ID="lblMaxCreditScore" runat="server" Visible="false" ForeColor="Red"></asp:Label>
                            <asp:RequiredFieldValidator ID="rfvMaxCreditScore" runat="server" ErrorMessage="*"
                                Display="Dynamic" ControlToValidate="txtMaxCreditScore" ForeColor="Red"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                  <%--  <tr class="dcTableItem">
                        <td>
                            网站地址:
                        </td>
                        <td>
                            <asp:TextBox ID="txtApplicationUrl" runat="server" Width="400"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="rfvApplicationUrl" runat="server" ErrorMessage="网站地址不能为空"
                                Display="Dynamic" ControlToValidate="txtApplicationUrl" ForeColor="Red"></asp:RequiredFieldValidator>
                            <asp:RegularExpressionValidator ID="revApplicationUrl" runat="server" ErrorMessage="请输入正确的网站地址"
                                ForeColor="Red" ControlToValidate="txtApplicationUrl" Display="Dynamic" ValidationExpression="^(http|https|ftp)\://[a-zA-Z0-9\-\.]+[a-zA-Z]{2,3}(:[a-zA-Z0-9]*)?/?([a-zA-Z0-9\-\._\?\,\'/\\\+&amp;%\$#\=~])*$"></asp:RegularExpressionValidator>
                        </td>
                    </tr>--%>
                </table>
            </div>
        </div>
    </div>
    <div class="sqbtnPane">
        <p class="sqbtn">
            <asp:LinkButton ID="lbtnSave" runat="server" OnClick="lbtnSave_Click" /></p>
        <p class="sqbtn">
            <asp:LinkButton ID="lbtnCancel" runat="server" CausesValidation="false" OnClick="lbtnCancel_Click" /></p>
    </div>
</asp:Content>
